<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>


<form id="pagerForm" action="demo/database/dwzOrgLookup.html">
	<input type="hidden" name="pageNum" value="1" /> <input type="hidden" name="numPerPage" value="${model.numPerPage}" /> <input type="hidden" name="orderField" value="${param.orderField}" /> <input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="${pageContext.request.contextPath}/inventory/packingSetting/chooseProductList" onsubmit="return dwzSearch(this, 'dialog');">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>商品名：<input type="text" name="normName" value="${requestScope.dwzPageBean.countResultMap.normName}" size="30" placeholder="请输入商品名" />
					</td>
					<td>商品编码：<input type="text" name="productNum" value="${requestScope.dwzPageBean.countResultMap.productNum}" size="30" placeholder="请输入商品编号" />
					</td>
				</tr>
			</table>
			<div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">查询</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th>商品</th>
				<th>单价</th>
				<th>商品编号</th>
				<th width="80">操作</th>

			</tr>
		</thead>
		<tbody>
			<c:if test="${requestScope.dwzPageBean != null &&  requestScope.dwzPageBean.recordList != null }">
				<c:forEach var="record" items="${requestScope.dwzPageBean.recordList}" varStatus="status">
					<tr target="id" rel="${record.merchantProductNormId}">
						<td>${record.normName}</td>
						<td>${record.primeCostsPrice}</td>
						<td>${record.productNum}</td>
						<td><a class="btnSelect" href="javascript:$.bringBack({merchantProductId:'${record.merchantProductId}',merchantProductNormId:'${record.merchantProductNormId}', normName:'${record.normName}'})" title="查找带回">选择</a></td>
					</tr>
				</c:forEach>
			</c:if>
		</tbody>
	</table>

	<!-- 分页条 -->
	<%@include file="/WEB-INF/page/inc/pageBar.jsp"%>
</div>


